module.exports = app => {
    const { router, controller } = app
    router.get('/default/index', controller.default.home.index)
    router.get('/default/getArticleList', controller.default.home.getArticleList)
    router.get('/default/getArticleById/:id', controller.default.home.getArticleById)
    router.get('/default/getTypeInfo', controller.default.home.getTypeInfo)
    router.get('/default/getListById/:id', controller.default.home.getListById)
    router.get('/default/getAllPartCount', controller.default.home.getAllPartCount)
    router.get('/default/getListBBD', controller.default.home.getListBBD)
    router.post('/default/setUserMsg', controller.default.home.setUserMsg)
    router.post('/default/oneArticleMsg', controller.default.home.oneArticleMsg)
    router.post('/default/getAllHomeImg', controller.default.home.getAllHomeImg)
    router.post('/default/findArticleTypeList', controller.default.home.findArticleTypeList)
    router.post('/default/byTypeText', controller.default.home.byTypeText)
}